﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
</asp:Content>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript" src="<%= Url.Content ("~/Scripts/jquery.mvcajax.js") %>"></script>
<script type="text/javascript">
    $(document).ready(function() {
        $("#awesome_grid").mvcajax("/Home/Sort/", "PeepsGrid", {
            defaultsort: "FirstName"
        });
    });
    </script>
    <h2><%= Html.Encode(ViewData["Message"]) %></h2>

    <div id="awesome_grid">
    </div>
    <div id="testgrid">
    </div>
    <p>To learn more about MvcAjax visit <a href="http://nathanielengelsen.com" title="Nathaniel Engelsen dot com">http://nathanielengelsen.com</a> or <a href="http://mvcajax.codeplex.com" title="MvcContrib Ajax Paging and Sorting">http://mvcajax.codeplex.com</a>.</p>

</asp:Content>
